MPT.addTmpl('edit_avatar', function(_data) {

    var html = [];
    
    html.push('    <form enctype="multipart/form-data" method="POST" action="upload/uploadAvatarGuide">');
    html.push('    <input id="cutX" name="cutX" type="hidden" value="" />');
    html.push('    <input id="cutY" name="cutY" type="hidden" value="" />');
    html.push('    <input id="width" name="width" type="hidden" value="" />');
    html.push('    <input id="height" name="height" type="hidden" value="" />');
    html.push('    <input id="ratio" name="ratio" type="hidden" value="" />');
    html.push('    <input id="rotate" name="rotate" type="hidden" value="0" />');
    html.push('    <div class="edit_avatar_upload">');
    html.push('        <h2 class="hd f_w" title="上传个性头像">');
    html.push('            上传个性头像</h2>');
    html.push('        <ul class="bd">');
    html.push('            <li>');
    html.push('                <p>');
    html.push('                    从电脑中选择喜欢的照片上传</p>');
    html.push('                <p>');
    html.push('                    您可上传JPG、JPEG、PNG图片格式，文件大小不超过200K</p>');
    html.push('            </li>');
    html.push('            <li>');
    html.push('                <input class="inp1 e_upload" type="file" name="imageFileGuide" size="30" />');
    html.push('            </li>');
    html.push('            <li class="c_red e_hint"></li>');
    html.push('            <li>');
    html.push('                <div class="cutting_head e_avatar">');
    html.push('                    <img id="pre" class="hide" angle="0">');
    html.push('                    <dl class="rotation">');
    html.push('                        <dd class="e_roll_r" title="逆时针旋转">');
    html.push('                        </dd>');
    html.push('                        <dd class="e_roll_l" title="顺时针旋转">');
    html.push('                        </dd>');
    html.push('                    </dl>');
    html.push('                    <div class="new_head e_drag">');
    html.push('                         <div class="head_in e_drag_in">');
    html.push('                             <strong class="change e_zoom"></strong>');
    html.push('                         </div>');
    html.push('                    </div>');
    html.push('                </div>');
    html.push('                <div class="preview_head">');
    html.push('                    <h2>');
    html.push('                        预览：</h2>');
    html.push('                    <div class="head_50"> <img id="tiny" angle="0" src="' + MPT.Config['global_images_path'] + 'ly4_50.png" ></div>');
    html.push('                    <div class="head_100"><img id="small" angle="0" src="' + MPT.Config['global_images_path'] + 'ly4_100.png"></div>');
    html.push('                </div>');
    html.push('            </li>');
    html.push('            <li class="pl_50">');
    html.push('                <div class="btn1_40green f_l">');
    html.push('                    <input class="btn2_40green save_btn e_submit" type="submit" value="保存设置" title="保存设置"></div>');
    html.push('                <a class="skip e_skip" title="跳过">跳过</a> </li>');
    html.push('            <img id="load_img" class="hide" />');
    html.push('        </ul>');
    html.push('    </div>');
    html.push('    </form>');

    return html.join('');

});